<?php
// header("Speicalheader: Dzemal Rules");
session_start();
require_once 'MasterController.php';

$mc = new MasterController();
$xhtml = $mc->doControll();
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>The Notes Project</title>
<link href="style.css" type="text/css" rel="stylesheet" />
<script src="jquery.js" type="text/javascript"></script>
</head>
 <body>
     <?php
            echo $xhtml;
      ?>
<script type="text/javascript">

$(window).load(function(){
	$('.note').fadeIn('1000', function() {
	});
});

$('.good').click(function(){
	$(this).fadeOut('slow', function() {
	});
});

$('.hint').click(function(){
	$(this).fadeOut('slow', function() {
	});
});


$('.error').click(function(){
	$(this).fadeOut('slow', function() {
	});
});

$('#notes').click(function() {
  $('#sliderNotes').slideToggle('slow', function() {
    // Animation complete.
  });
});

$('#user').click(function() {
  $('#userInfo').slideToggle('slow', function() {
    // Animation complete.
  });
});
</script>
</body>
</html>